package my.sample.junk;

public class TestAppend {

	public static void main(String[] args) {
		
		String finalStr = "";
		for ( Integer i = 0; i < 10; i++) {
			String iString = i.toString();
			finalStr = finalStr + iString + ",";
		}
		System.out.println(finalStr);
		System.out.println(finalStr.substring(0, finalStr.length() - 1));

	}
	// private static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(TestAppend.class);
}
